package BehavioralMode.strategy.zombie;

import BehavioralMode.strategy.zombie.zombie.Zombie;
import BehavioralMode.strategy.zombie.zombie.ZombieType;

/**
 * 策略模式 僵尸Demo 客户端
 *
 * */

public class Client {

    public static void main(String[] args) {

        Zombie common_zombie = new Zombie(ZombieType.COMMON_ZOMBIE.getType(),"一号僵尸");
        common_zombie.attack();
        common_zombie.move();

        Zombie crawl_zombie = new Zombie(ZombieType.CRAWL_ZOMBIE.getType(), "二号僵尸");
        crawl_zombie.attack();
        crawl_zombie.move();


    }

}
